"""new_pro URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/2.2/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
# from django.contrib import admin
from django.urls import path,re_path
from django.views.static import serve
from .views import MyCode,LognIn,Register,PhoneCode,CityCode,UserMsg,UpdateUser,UpdateApply,UserList,ApplyList,UpdateApplys,CreateCustomer,CreateCompany,CompanyList,CustomerList,OrderList
from .views import GoodsTypeAdd,CreateEquipment,GetEquipmentList,GetGoodsTypesList,CreateTags,TagsList,CreateOrder,TemperatureList
urlpatterns = [
    # path('/', admin.site.urls)
    path('img_code/', MyCode.as_view()),
    path('login/', LognIn.as_view()),
    path('register/', Register.as_view()),
    path('phonecode/', PhoneCode.as_view()),
    path('citycode/', CityCode.as_view()),
    path('usermsg/', UserMsg.as_view()),
    
    path('updateuser/', UpdateUser.as_view()),
    path('updateapply/', UpdateApply.as_view()),
    path('userlist/', UserList.as_view()),
    path('applylist/', ApplyList.as_view()),
    path('updateapplys/', UpdateApplys.as_view()),
    path('create_customer/', CreateCustomer.as_view()),
    path('create_company/', CreateCompany.as_view()),
    path('company_list/', CompanyList.as_view()),
    path('customer_list/', CustomerList.as_view()),
    path('order_list/', OrderList.as_view()),
    path('add_goods_type/', GoodsTypeAdd.as_view()),
    path('create_equipment/', CreateEquipment.as_view()),
    path('get_equipment_list/', GetEquipmentList.as_view()),
    path('goods_type_list/', GetGoodsTypesList.as_view()),
    path('create_tags/', CreateTags.as_view()),
    path('tags_list/', TagsList.as_view()),
    path('create_order/', CreateOrder.as_view()),
    path('temperature_list/', TemperatureList.as_view()),

    # temperature_list,TemperatureList
    
    
]
